package com.platform.task.service.impl;

import java.util.List;

import com.platform.task.constant.Constant;
import com.platform.task.entity.Base_Cyber;
import com.platform.task.job.ScheduleIntoDb;

public class BaseCyberHandler extends ScheduleIntoDb<Base_Cyber> {

    public BaseCyberHandler() {
        super(Constant.timeCount, Constant.fullNum);
    }

    @Override
    public void doJob(List<Base_Cyber> baseCybers) {
        Constant.baseCyberService.addBaseCyberBatch(baseCybers);
    }
}
